ci: Limit macos runs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 6 Jan 2021 14:36:02 +0000 (09:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 6 Jan 2021 14:36:54 +0000 (09:36 -0500)
We are building the full stack here, which is pretty expensive,
so only do it for merge requests and master.

.gitlab-ci.yml

index c52a26c6c9005c61a489d89e36bb608cf6ab86e1..5b5ee631a37d3d37b9476dd3e83723f4246e036d 100644 (file)
@@ -148,6 +148,9 @@ macos:
   stage: build
   tags:
     - macos
+  only:
+    - master
+    - merge_requests
   needs: []
   before_script:
     - bash .gitlab-ci/show-execution-environment.sh